Since we don't know if polkit/PAM will request a password (emitting the
"request" signal) or use another authentication method like a
fingerprint after the current authentication failed, hide the password
field and make the "Authenticate" button insensitive after cancelling
the session, just like we do when creating the dialog.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/788
this._session.disconnect(this._sessionShowInfoId);
this._session = null;
}
+
+ this._passwordBox.hide();
+ this._cancelButton.grab_key_focus();
+ this._okButton.reactive = false;
}
_onUserChanged() {